//
//  YRecommendBookListDetailModel.m
//  Reader
//
//  Created by yuemei on 2019/5/22.
//  Copyright © 2019 SF. All rights reserved.
//

#import "YRecommendBookListDetailModel.h"
#import "YDateModel.h"


@implementation YRecommendBookListDetailModel


+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"books" : @"YRecommendListDetailBookSubModel"};
}
- (BOOL)modelCustomTransformFromDictionary:(NSDictionary *)dic {
    NSString *time = dic[@"created"];
    if (![time isKindOfClass:[NSString class]]) return NO;
    _created = [[YDateModel shareDateModel] dateWithCustomDateFormat:time];
    return YES;
}

@end
